package com.deschen.security.validate.code;

import com.deschen.security.core.validate.code.sms.SmsValidateCodeSender;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Component;

/**
 * @Author deschen
 * @Create 2019/8/20
 * @Description 自定义短信验证码发送器
 * @Since 1.0.0
 */
@Component
@Slf4j
public class CustomSmsCodeSender implements SmsValidateCodeSender {
    @Override
    public void send(String mobile, String code) {
        log.info("【短信验证码生成器】 生成的验证码code = {}", code);
    }
}
